package com.liebaut.controller.person;

import com.liebaut.controller.CrudController;
import com.liebaut.dao.person.SupplierRepository;
import com.liebaut.model.person.Supplier;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/supplier")
public class SupplierController extends CrudController<Supplier, Long> {

    public SupplierController() {
    }

    @Autowired
    public SupplierController(SupplierRepository repository) {
        super(repository);
    }


}
